<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
   <form action="/user/modify1?id=1" method="post" >
     <input type="text" name="name" value="zhangsan1">
     <button>提交</button>
  </form>

  <hr>

  <form action="/user/modify2?id=1" method="GET">
    <input type="hidden" name="id" value="1">
    <input type="text" name="name" value="zhangsan2">
    <button>提交</button>
 </form>

 <hr>
 <a href="/user/modify3">测试修改3</a>

 <hr>
 <button type="button" onclick="location.href='/user/modify4'">测试修改4</button>
</body>
</html>